package com.tpp.admin.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.List;

@Data
@JsonSerialize()
public class MenuVo {

    private Integer id;
    private String name;
    private Integer sort;
    /**
     * 类型 1：父菜单 2：子菜单
     */
    private Integer type;
    private String icon;
    private String url;
    private List<MenuVo> children;

}
